import instance from '../axios.service';
import {ResDto} from "../types/common";
import {basePath} from './config'
export default {
    getOrganTreeData: (filter: string): Promise<ResDto> => instance.post(`${basePath}/common/organ/tree`, {filter}),// 获取机构树数据
    getDicTypeList: (): Promise<ResDto> => instance.post(`${basePath}/common/dic/types`),// 获取值域类型
    getSummaryData: (): Promise<ResDto> => instance.post(`${basePath}/portal/summary`),// 统计汇总相关数据
    getMenuConfig: (): Promise<ResDto> => instance.post(`${basePath}/my/config/load`),// 菜单权限控制
}
